import request from "@/utils/request.js";

// 发起反馈
export const orderConsult=(data)=>{
	return request("/orderConsult/add",{
		method:'POST',
		data
	})
}

//查询反馈列表   状态 1已反馈 2已回复
export const orderConsultList=(data)=>{
	return request(`/orderConsult/list?state=${data.state}&size=${data.size}&current=${data.current}`)
}

//反馈列表的具体咨询
export const orderDetail=(data)=>{
	return request(`/orderConsult/one`)
}
